ComplexBorderSide Constructor(Boolean,Color,Int32,DashStyle,Single[],Single[])
In This Topic
Creates one side of a four-sided, complex border with the specified color, width, dash style, dash pattern and compound array, and whether to draw the side.
Syntax
'Declaration
Public Function New( _
ByVal As Boolean, _
ByVal As Color, _
ByVal As Integer, _
ByVal As DashStyle, _
ByVal () As Single, _
ByVal () As Single _
)
'Usage
Dim draw As Boolean
Dim color As Color
Dim width As Integer
Dim dashStyle As DashStyle
Dim dashPattern() As Single
Dim compoundArray() As Single
Dim instance As New ComplexBorderSide(draw, color, width, dashStyle, dashPattern, compoundArray)
public ComplexBorderSide(
bool ,
Color ,
int ,
DashStyle ,
float[] ,
float[]
)
Parameters
- draw
- Whether to draw that size of the border
- color
- Color for this side of the border
- width
- Width of this side of the border, in pixels
- dashStyle
- Style of dashed line for this side of the border; a setting of the DashStyle enumeration of the Microsoft .NET Framework
- dashPattern
- Pattern of dashes for this side of the border
- compoundArray
- Array of values that specify a compound line made up of parallel lines and spaces. The elements in the array must be in increasing order, not less than 0, and not greater than 1. The number of elements in the array must be even.
Exceptions
See Also